#include<iostream>

using namespace std;

int main(){

	int x = 5;
	int y = 6;
	int*a = &x;
	*a = 10;
	a = &y;
	*a = 9;
	cout << x << y << endl;
	system("pause");
	return 0;
}